package com.yiyuan.weixin.weixinInservice.Iml;

import com.yiyuan.weixin.model.ReceiveXmlEntity;
import com.yiyuan.weixin.utils.ReceiveXmlProcess;
import com.yiyuan.weixin.weixinInservice.WXResponseDispatcherUtil;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.OutputStream;

/**
 * Created by admin on 2017/3/28.
 */
@Deprecated
public class WXAccessFirstIml extends AbsWXAccessService {
    @Override
    public void weiXinAccess(HttpServletRequest req, HttpServletResponse resp) throws IOException {
        String echostr = req.getParameter("echostr");
        if (echostr != null && echostr.length() > 1) {
            resp.getWriter().write(echostr);
        }

    }
}
